//tbGerenrateTemplate.entity.ts


import { Entity, Column, PrimaryGeneratedColumn } from "typeorm";


@Entity("tb_gerenrate_template")
export class tbGerenrateTemplateEntity {

  @PrimaryGeneratedColumn()
  id: number;
  @Column({ name: "name" })
  name: string;
  @Column({ name: "desccontent" })
  desccontent: string;

  constructor(_data: any) {
    this.desccontent = _data?.desccontent;
    this.name = _data?.name;
    this.id = _data?.id;
  }


}
